﻿using System;
using System.Collections.Generic;
using BLL.Entities.Company;

namespace BLL.Entities.Client
{
  public class ClientCase : BaseBusinessEntity
  {
    public Guid CompanyID { get; set; }
    public Guid ClientID { get; set; }

    public Guid OriginalEmployeeID { get; set; }
    public Guid OriginalOfficeID { get; set; }

    public DynamicEnumTypeValue CaseType { get; set; }
    public string CaseNumber { get; set; }
    public DynamicEnumTypeValue CaseStatus { get; set; }
    public DynamicEnumTypeValue ProsecutorTitle { get; set; }

    public IList<ClientCaseAttachement> Attachments { get; set; }
    public IList<ClientCaseWitness> Witness { get; set; }
    public IList<PoliceOfficer> Officers { get; set; }
    public IList<ClientOffence> Offences { get; set; }
    public IList<ClientCourtAppearance> CourtAppearances { get; set; }
    public IList<LegalMotion> Motions { get; set; }
    public IList<ClientCaseCallRecord> Calls { get; set; }
    public IList<ClientInvoice> Invoices { get; set; }


    public string Facts { get; set; }
    public string Instructions { get; set; }
    public string Notes { get; set; }

    public ClientCase()
    { 
        Attachments = new List<ClientCaseAttachement>();
        Witness = new List<ClientCaseWitness>();
        Officers = new List<PoliceOfficer>();
        Offences = new List<ClientOffence>();
        CourtAppearances = new List<ClientCourtAppearance>();
        Motions = new List<LegalMotion>();
        Calls = new List<ClientCaseCallRecord>();
        Invoices = new List<ClientInvoice>();
    }
  }
}